package com.ly.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: liangyuan
 * @Date: 2020/10/26 21:29:43
 * @Description: 支付实体类
 */
@Data //生成getter,setter等函数
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor //生成无参构造函数
public class Payment implements Serializable {//分布式部署用到序列化
    private Long id;
    private String serial;
}
